package com.rock.upms.model.dto;

import java.io.Serializable;

/**
 * 菜单类
 * 
 * @author hotdog
 *
 */
public class RockMenu implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4488307942336309931L;
	// 菜单ID：同OuPermission 表ID
	private int id;
	// 菜单编号，程序生成的如1-1,1-1-1,1-2,1-2-1
	private String menuNo;
	// 菜单名称，直接显示在页面上
	private String menuName;
	// URL：同OuPermission 表uri
	private String url;

	// 图标：同OuPermission 表icon
	private String icon;
	// 菜单层数：程序计算的，顶层系统菜单为1层，其余据实计算
	private int rank;

	// 备注：同OuPermission 字段
	private String remarks;


	// 顺序号：同OuPermission 表seqno
	private int seqno;



	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMenuNo() {
		return menuNo;
	}

	public void setMenuNo(String menuNo) {
		this.menuNo = menuNo;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}
	public int getSeqno() {
		return seqno;
	}

	public void setSeqno(int seqno) {
		this.seqno = seqno;
	}

	@Override
	public String toString() {
		return "RockMenu [id=" + id + ", menuNo=" + menuNo + ", menuName=" + menuName + ", url=" + url + ", icon=" + icon + ", rank=" + rank + ", remarks=" + remarks + ", seqno="
				+ seqno + "]";
	}
	
   

}
